#!/bin/bash

SLEEP_TIME=10

# 无限循环执行脚本
while true; do
    echo "Running"
    python -m fastchat.serve.test_message --model-name Phi-3-0 > /dev/null 2>&1
    python -m fastchat.serve.test_message --model-name Phi-3-1 > /dev/null 2>&1
    python -m fastchat.serve.test_message --model-name Phi-3-2 > /dev/null 2>&1
    echo "Script finished. Waiting for $SLEEP_TIME seconds before next run..."
    sleep $SLEEP_TIME
done